#pragma once
#include "..\base\Engine.h"

namespace ds {

class TexturedVertex {

public:
	float x,y,z; 
    float tu, tv;		

	TexturedVertex() { 
		x = 0.0f; y = 0.0f; z = 0.0f; 
		tu = 0.0f; tv = 0.0f; 
	}
	TexturedVertex(const Vec2& pos,const Vec2& tc) { 
		x = pos.x; y = pos.y; z = 0.0; 		
		tu = tc.x ; tv = tc.y; 
	}
	TexturedVertex(const Vec3& pos,const Vec2& tc) { 
		x = pos.x; y = pos.y; z = pos.z; 		
		tu = tc.x ; tv = tc.y; 
	}
	~TexturedVertex() {}	

	static void prepareDeclaration();
};

}

